// Copyright(c) 2008 Tri Tech Information Systems Inc. 
// Distributed under the Boost Software License, Version 1.0.
//     (See accompanying file ../../LICENSE_1_0.txt or copy at
//           http://www.boost.org/LICENSE_1_0.txt)
//     
#include <qobject.h>
#include <boost/python.hpp>

using namespace boost::python;

void comment(std::string content)
{
    import("sys").attr("stdout").attr("write")(content);
}



class PlayObject : public QObject
{
    PlayObject(const PlayObject&);
    public:
        PlayObject(QObject * parent = 0):
            QObject(parent)
        {
            comment("PlayObject constructed\n");
        }

        ~PlayObject()
        {
            comment("PlayObject destroyed\n");
        }
};

QObject * shell_game(QObject * in)
{
    return in;
}
